construct a square whose area is equal to the area of a rectangle